package com.socialuni.sdk.api;

import com.socialuni.sdk.api.model.ResultRO;
import com.socialuni.sdk.model.QO.HugAddVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("socialuni/hug")
@FeignClient(name = "hug", url = "${social.server-url:https://api.socialuni.com}")
public interface HugAPI extends FeignAPI {
    @PostMapping("addHug")
    ResultRO<Object> addHug(HugAddVO addVO);
}